﻿@using Telerik.Web.Mvc.UI
@{
    var index = (ViewData.ContainsKey(ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"))
                     ? ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"
                     : ViewData.TemplateInfo.GetFullHtmlFieldName("") + ".Value_Data";
}
@(Html.Telerik().DropDownList()
    .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(""))
        .BindTo((SelectList)ViewData[index])
)